package com.xique.door.util;

/**
 * @author shd
 * @create 2021/9/10 15:18
 */
public class BuildUtils {

    public static String getCode(String prefix, String code) {
        if (code.length() == 1) {
            code = "0" + code;
        }
        return prefix + code;
    }

    public static String getName(String prefix, String name, String unit) {
        return prefix + name + unit;
    }
}
